<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>csi2txss: Csi2txss_v1_0</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">csi2txss
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__csi2txss__v1__0.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Csi2txss_v1_0</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_sub_core_csi2_tx.html">SubCoreCsi2Tx</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sub-Core Configuration Table.  <a href="struct_sub_core_csi2_tx.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_csi2_tx_ss___config.html">XCsi2TxSs_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">MIPI CSI Tx Subsystem configuration structure.  <a href="struct_x_csi2_tx_ss___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> driver instance data.  <a href="struct_x_csi2_tx_ss.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga0358e0b4a1ea75cf0460cd4653a9c76e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga0358e0b4a1ea75cf0460cd4653a9c76e">XCSI2TXSS_H_</a></td></tr>
<tr class="memdesc:ga0358e0b4a1ea75cf0460cd4653a9c76e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent circular inclusions by using protection macros.  <a href="#ga0358e0b4a1ea75cf0460cd4653a9c76e">More...</a><br /></td></tr>
<tr class="separator:ga0358e0b4a1ea75cf0460cd4653a9c76e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga39b5da92207a4466dd7232ef2f6e3801"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga39b5da92207a4466dd7232ef2f6e3801">XCSI2TXSS_HW_H_</a></td></tr>
<tr class="memdesc:ga39b5da92207a4466dd7232ef2f6e3801"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent circular inclusions by using protection macros.  <a href="#ga39b5da92207a4466dd7232ef2f6e3801">More...</a><br /></td></tr>
<tr class="separator:ga39b5da92207a4466dd7232ef2f6e3801"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga12ce3a612428175078e1d4a8c9cc1d5b"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga12ce3a612428175078e1d4a8c9cc1d5b">XCsi2TxSs_Callback</a>) (void *CallbackRef, u32 Mask)</td></tr>
<tr class="memdesc:ga12ce3a612428175078e1d4a8c9cc1d5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type which acts as a wrapper on top of CSI Callback.  <a href="#ga12ce3a612428175078e1d4a8c9cc1d5b">More...</a><br /></td></tr>
<tr class="separator:ga12ce3a612428175078e1d4a8c9cc1d5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga05a335318d3ee341c8288279cf4d8683"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga05a335318d3ee341c8288279cf4d8683">XCsi2TxSs_CfgInitialize</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr, <a class="el" href="struct_x_csi2_tx_ss___config.html">XCsi2TxSs_Config</a> *CfgPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:ga05a335318d3ee341c8288279cf4d8683"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the MIPI CSI subsystem and included sub-cores.  <a href="#ga05a335318d3ee341c8288279cf4d8683">More...</a><br /></td></tr>
<tr class="separator:ga05a335318d3ee341c8288279cf4d8683"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga20a5a3fc9695ca1ac7fdbea4300da836"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga20a5a3fc9695ca1ac7fdbea4300da836">XCsi2TxSs_Configure</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr, u8 ActiveLanes, u32 IntrMask)</td></tr>
<tr class="memdesc:ga20a5a3fc9695ca1ac7fdbea4300da836"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to configure the CSI lanes and interrupts that are to be handled by the application.  <a href="#ga20a5a3fc9695ca1ac7fdbea4300da836">More...</a><br /></td></tr>
<tr class="separator:ga20a5a3fc9695ca1ac7fdbea4300da836"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac74b7b2f7be7e695c3034f45d681c8ed"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#gac74b7b2f7be7e695c3034f45d681c8ed">XCsi2TxSs_Activate</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr, u8 Flag)</td></tr>
<tr class="memdesc:gac74b7b2f7be7e695c3034f45d681c8ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to activate the CSI Subsystem.  <a href="#gac74b7b2f7be7e695c3034f45d681c8ed">More...</a><br /></td></tr>
<tr class="separator:gac74b7b2f7be7e695c3034f45d681c8ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9933630512ea21627aae263ff1833372"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga9933630512ea21627aae263ff1833372">XCsi2TxSs_Reset</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga9933630512ea21627aae263ff1833372"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to reset the CSI Subsystem.  <a href="#ga9933630512ea21627aae263ff1833372">More...</a><br /></td></tr>
<tr class="separator:ga9933630512ea21627aae263ff1833372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5067597d1a3f39b5be158ce026e3f8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#gad5067597d1a3f39b5be158ce026e3f8c">XCsi2TxSs_ReportCoreInfo</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr)</td></tr>
<tr class="memdesc:gad5067597d1a3f39b5be158ce026e3f8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reports list of cores included.  <a href="#gad5067597d1a3f39b5be158ce026e3f8c">More...</a><br /></td></tr>
<tr class="separator:gad5067597d1a3f39b5be158ce026e3f8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga066c927aebc1b2c199e33350662e4fd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga066c927aebc1b2c199e33350662e4fd9">XCsi2TxSs_GetShortPacket</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga066c927aebc1b2c199e33350662e4fd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the short packets.  <a href="#ga066c927aebc1b2c199e33350662e4fd9">More...</a><br /></td></tr>
<tr class="separator:ga066c927aebc1b2c199e33350662e4fd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e993c82c56bef5ed7a768a71705630b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga7e993c82c56bef5ed7a768a71705630b">XCsi2TxSs_LineGen</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr, u32 Value)</td></tr>
<tr class="memdesc:ga7e993c82c56bef5ed7a768a71705630b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is to set the Line Synchronization packet Generation status.  <a href="#ga7e993c82c56bef5ed7a768a71705630b">More...</a><br /></td></tr>
<tr class="separator:ga7e993c82c56bef5ed7a768a71705630b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga533565da7643edb6132a77e5443a2f2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga533565da7643edb6132a77e5443a2f2d">XCsi2TxSs_SetGSPEntry</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr, u32 Value)</td></tr>
<tr class="memdesc:ga533565da7643edb6132a77e5443a2f2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is to set Generic Short Packet Entries.  <a href="#ga533565da7643edb6132a77e5443a2f2d">More...</a><br /></td></tr>
<tr class="separator:ga533565da7643edb6132a77e5443a2f2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5f102cce59805525a6129df5c4d7feb8"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga5f102cce59805525a6129df5c4d7feb8">XCsi2TxSs_GetPixelMode</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga5f102cce59805525a6129df5c4d7feb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to get the Pixel Mode.  <a href="#ga5f102cce59805525a6129df5c4d7feb8">More...</a><br /></td></tr>
<tr class="separator:ga5f102cce59805525a6129df5c4d7feb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f75eac00e365efaa38c8c3b9f98ec0e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga9f75eac00e365efaa38c8c3b9f98ec0e">XCsi2TxSs_GetMaxLaneCount</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga9f75eac00e365efaa38c8c3b9f98ec0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to get the number of lanes configured in the IP.  <a href="#ga9f75eac00e365efaa38c8c3b9f98ec0e">More...</a><br /></td></tr>
<tr class="separator:ga9f75eac00e365efaa38c8c3b9f98ec0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga011ccc31eea54a9b72e6ece5efed6853"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_csi2_tx_ss___config.html">XCsi2TxSs_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga011ccc31eea54a9b72e6ece5efed6853">XCsi2TxSs_LookupConfig</a> (u32 DeviceId)</td></tr>
<tr class="memdesc:ga011ccc31eea54a9b72e6ece5efed6853"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function looks for the device configuration based on the unique device ID.  <a href="#ga011ccc31eea54a9b72e6ece5efed6853">More...</a><br /></td></tr>
<tr class="separator:ga011ccc31eea54a9b72e6ece5efed6853"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga55777b4afc7abf235debe2d797969577"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga55777b4afc7abf235debe2d797969577">XCsi2TxSs_SelfTest</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga55777b4afc7abf235debe2d797969577"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function performs self test on MIPI CSI Tx Subsystem sub-cores.  <a href="#ga55777b4afc7abf235debe2d797969577">More...</a><br /></td></tr>
<tr class="separator:ga55777b4afc7abf235debe2d797969577"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8d8dd9ec87494c3d3b90dcafd05a6028"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga8d8dd9ec87494c3d3b90dcafd05a6028">XCsi2TxSs_IntrHandler</a> (void *InstancePtr)</td></tr>
<tr class="memdesc:ga8d8dd9ec87494c3d3b90dcafd05a6028"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for the MIPI CSI2 Tx Subsystem.  <a href="#ga8d8dd9ec87494c3d3b90dcafd05a6028">More...</a><br /></td></tr>
<tr class="separator:ga8d8dd9ec87494c3d3b90dcafd05a6028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05e607ece4b52c59fa349f5f2e42976f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga05e607ece4b52c59fa349f5f2e42976f">XCsi2TxSs_IntrDisable</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr, u32 IntrMask)</td></tr>
<tr class="memdesc:ga05e607ece4b52c59fa349f5f2e42976f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to disable the interrupts in the CSI core.  <a href="#ga05e607ece4b52c59fa349f5f2e42976f">More...</a><br /></td></tr>
<tr class="separator:ga05e607ece4b52c59fa349f5f2e42976f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga445feeebfebea8ae0119be48a4a27ede"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga445feeebfebea8ae0119be48a4a27ede">XCsi2TxSs_SetCallBack</a> (<a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *InstancePtr, u32 HandlerType, void *CallbackFunc, void *CallbackRef)</td></tr>
<tr class="memdesc:ga445feeebfebea8ae0119be48a4a27ede"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine installs an asynchronous callback function for the given HandlerType:  <a href="#ga445feeebfebea8ae0119be48a4a27ede">More...</a><br /></td></tr>
<tr class="separator:ga445feeebfebea8ae0119be48a4a27ede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f003f0f154d0a6f6d7c06498ff3c655"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga4f003f0f154d0a6f6d7c06498ff3c655">Csi2TxSs_IntrExample</a> (u32 DeviceId)</td></tr>
<tr class="memdesc:ga4f003f0f154d0a6f6d7c06498ff3c655"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the main entry point for the interrupt example using the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> driver.  <a href="#ga4f003f0f154d0a6f6d7c06498ff3c655">More...</a><br /></td></tr>
<tr class="separator:ga4f003f0f154d0a6f6d7c06498ff3c655"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7f3c94a567227794158a9e77850ad45a"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga7f3c94a567227794158a9e77850ad45a">Csi2TxSs_PlatformInit</a> (void)</td></tr>
<tr class="memdesc:ga7f3c94a567227794158a9e77850ad45a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initialize required platform-specifc peripherals.  <a href="#ga7f3c94a567227794158a9e77850ad45a">More...</a><br /></td></tr>
<tr class="separator:ga7f3c94a567227794158a9e77850ad45a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4261a1f4e4767eee83fa1ab1990fd25e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga4261a1f4e4767eee83fa1ab1990fd25e">Csi2TxSs_SetupIntrSystem</a> (XINTC *IntcInstPtr)</td></tr>
<tr class="memdesc:ga4261a1f4e4767eee83fa1ab1990fd25e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets up the interrupt system so interrupts can occur for the MIPI CSI2Tx Subsystem core.  <a href="#ga4261a1f4e4767eee83fa1ab1990fd25e">More...</a><br /></td></tr>
<tr class="separator:ga4261a1f4e4767eee83fa1ab1990fd25e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9cb8d015cac4e68c6cbe5b9c0b76bac9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga9cb8d015cac4e68c6cbe5b9c0b76bac9">Csi2TxSs_WrgLaneEventHandler</a> (void *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga9cb8d015cac4e68c6cbe5b9c0b76bac9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when Wrong number of lanes are configured by the MIPI CSI2Tx Subsystem core.  <a href="#ga9cb8d015cac4e68c6cbe5b9c0b76bac9">More...</a><br /></td></tr>
<tr class="separator:ga9cb8d015cac4e68c6cbe5b9c0b76bac9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e477c7bc4aee8614bb89b403165d59c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga5e477c7bc4aee8614bb89b403165d59c">Csi2TxSs_GSPFullEventHandler</a> (void *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga5e477c7bc4aee8614bb89b403165d59c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when Genric Short Packet FIFO is found full by the MIPI CSI2Tx Subsystem core.  <a href="#ga5e477c7bc4aee8614bb89b403165d59c">More...</a><br /></td></tr>
<tr class="separator:ga5e477c7bc4aee8614bb89b403165d59c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc28c0547eca7d2f3f09cc4151c7cab5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#gadc28c0547eca7d2f3f09cc4151c7cab5">Csi2TxSs_UlpsEventHandler</a> (void *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:gadc28c0547eca7d2f3f09cc4151c7cab5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when there is a change in ULPS state of D-PHY Lanes.  <a href="#gadc28c0547eca7d2f3f09cc4151c7cab5">More...</a><br /></td></tr>
<tr class="separator:gadc28c0547eca7d2f3f09cc4151c7cab5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga003874deb0dc72b7d5f78b4d00a68561"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga003874deb0dc72b7d5f78b4d00a68561">Csi2TxSs_LinebufEventHandler</a> (void *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga003874deb0dc72b7d5f78b4d00a68561"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when a Line buffer is full event recieved by MIPI CSI2Tx Subsystem core.  <a href="#ga003874deb0dc72b7d5f78b4d00a68561">More...</a><br /></td></tr>
<tr class="separator:ga003874deb0dc72b7d5f78b4d00a68561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf6090a5e28c69c648d3688cf32069db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#gacf6090a5e28c69c648d3688cf32069db">Csi2TxSs_WrgDTypeEventHandler</a> (void *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:gacf6090a5e28c69c648d3688cf32069db"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when a event generated by unspported data type in GSP request to the MIPI CSI2Tx Subsystem core.  <a href="#gacf6090a5e28c69c648d3688cf32069db">More...</a><br /></td></tr>
<tr class="separator:gacf6090a5e28c69c648d3688cf32069db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5d956c45981158d58b15833b9f570d0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#gab5d956c45981158d58b15833b9f570d0">Csi2TxSs_UrunPixelEventHandler</a> (void *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:gab5d956c45981158d58b15833b9f570d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when during packet transmission, byte stream FIFO is found to be starves for pixel by the MIPI CSI2Tx Subsystem core.  <a href="#gab5d956c45981158d58b15833b9f570d0">More...</a><br /></td></tr>
<tr class="separator:gab5d956c45981158d58b15833b9f570d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#gae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memdesc:gae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the main function for <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> interrupt example.  <a href="#gae66f6b31b5ad750f1fe042a706a4e3d4">More...</a><br /></td></tr>
<tr class="separator:gae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e0a474f9469d041cee3f863c5a6de97"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__csi2txss__v1__0.html#ga1e0a474f9469d041cee3f863c5a6de97">Csi2TxSs_SelfTestExample</a> (u32 DeviceId)</td></tr>
<tr class="memdesc:ga1e0a474f9469d041cee3f863c5a6de97"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the main function for <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> self test example.  <a href="#ga1e0a474f9469d041cee3f863c5a6de97">More...</a><br /></td></tr>
<tr class="separator:ga1e0a474f9469d041cee3f863c5a6de97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Interrupt Types for setting Callbacks</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp167e8ff43204a7fafa6218db9934485d"></a>These handlers are used to determine the type of the interrupt handler being registered with the MIPI CSI2 Tx Subsystem.</p>
<p>Since the subsystem is tightly coupled with the CSI2 Tx Controller driver, the handlers from the sub core are promoted to the subsystem level so that the application can use them. </p>
</td></tr>
<tr class="memitem:gadef6492317bf9725afe3e0953b4f8b69"><td class="memItemLeft" align="right" valign="top"><a id="gadef6492317bf9725afe3e0953b4f8b69"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCSI2TXSS_HANDLER_WRG_LANE</b>&#160;&#160;&#160;XCSI2TX_HANDLER_WRG_LANE</td></tr>
<tr class="separator:gadef6492317bf9725afe3e0953b4f8b69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f32259451d8d738ae5fd1a86fc97664"><td class="memItemLeft" align="right" valign="top"><a id="ga9f32259451d8d738ae5fd1a86fc97664"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCSI2TXSS_HANDLER_GSPFIFO_FULL</b>&#160;&#160;&#160;XCSI2TX_HANDLER_GSPFIFO_FULL</td></tr>
<tr class="separator:ga9f32259451d8d738ae5fd1a86fc97664"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf862572a5d401ca36856d0f4fbbeaa4b"><td class="memItemLeft" align="right" valign="top"><a id="gaf862572a5d401ca36856d0f4fbbeaa4b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCSI2TXSS_HANDLER_ULPS</b>&#160;&#160;&#160;XCSI2TX_HANDLER_ULPS</td></tr>
<tr class="separator:gaf862572a5d401ca36856d0f4fbbeaa4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73f6c698f750d577c3a906443b541306"><td class="memItemLeft" align="right" valign="top"><a id="ga73f6c698f750d577c3a906443b541306"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCSI2TXSS_HANDLER_LINEBUF_FULL</b>&#160;&#160;&#160;XCSI2TX_HANDLER_LINEBUF_FULL</td></tr>
<tr class="separator:ga73f6c698f750d577c3a906443b541306"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d3ff71e7bc5a95352239fc2fa47c0df"><td class="memItemLeft" align="right" valign="top"><a id="ga9d3ff71e7bc5a95352239fc2fa47c0df"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCSI2TXSS_HANDLER_WRG_DATATYPE</b>&#160;&#160;&#160;XCSI2TX_HANDLER_WRG_DATATYPE</td></tr>
<tr class="separator:ga9d3ff71e7bc5a95352239fc2fa47c0df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89ea48e72171d9f38f3ddd1a0391c7cb"><td class="memItemLeft" align="right" valign="top"><a id="ga89ea48e72171d9f38f3ddd1a0391c7cb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XCSI2TXSS_HANDLER_UNDERRUN_PIXEL</b>&#160;&#160;&#160;XCSI2TX_HANDLER_UNDERRUN_PIXEL</td></tr>
<tr class="separator:ga89ea48e72171d9f38f3ddd1a0391c7cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga0358e0b4a1ea75cf0460cd4653a9c76e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0358e0b4a1ea75cf0460cd4653a9c76e">&#9670;&nbsp;</a></span>XCSI2TXSS_H_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCSI2TXSS_H_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8h.html">xcsi2txss.h</a>&gt;</code></p>

<p>Prevent circular inclusions by using protection macros. </p>

</div>
</div>
<a id="ga39b5da92207a4466dd7232ef2f6e3801"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga39b5da92207a4466dd7232ef2f6e3801">&#9670;&nbsp;</a></span>XCSI2TXSS_HW_H_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCSI2TXSS_HW_H_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__hw_8h.html">xcsi2txss_hw.h</a>&gt;</code></p>

<p>Prevent circular inclusions by using protection macros. </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga12ce3a612428175078e1d4a8c9cc1d5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga12ce3a612428175078e1d4a8c9cc1d5b">&#9670;&nbsp;</a></span>XCsi2TxSs_Callback</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XCsi2TxSs_Callback) (void *CallbackRef, u32 Mask)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8h.html">xcsi2txss.h</a>&gt;</code></p>

<p>Callback type which acts as a wrapper on top of CSI Callback. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked. </td></tr>
    <tr><td class="paramname">Mask</td><td>is a bit mask indicating the cause of the event. For current core version, this parameter is "OR" of 0 or more XCSI2TXSS_ISR_*_MASK constants defined in <a class="el" href="xcsi2txss__hw_8h.html">xcsi2txss_hw.h</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga5e477c7bc4aee8614bb89b403165d59c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5e477c7bc4aee8614bb89b403165d59c">&#9670;&nbsp;</a></span>Csi2TxSs_GSPFullEventHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Csi2TxSs_GSPFullEventHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__intr__example_8c.html">xcsi2txss_intr_example.c</a>&gt;</code></p>

<p>This function is called when Genric Short Packet FIFO is found full by the MIPI CSI2Tx Subsystem core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> instance. </td></tr>
    <tr><td class="paramname">Mask</td><td>of interrupt which caused this event</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Use the XCsi2TxSs_SetCallback driver function to set this function as the handler for Packet level error event. </dd></dl>

</div>
</div>
<a id="ga4f003f0f154d0a6f6d7c06498ff3c655"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4f003f0f154d0a6f6d7c06498ff3c655">&#9670;&nbsp;</a></span>Csi2TxSs_IntrExample()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 Csi2TxSs_IntrExample </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__intr__example_8c.html">xcsi2txss_intr_example.c</a>&gt;</code></p>

<p>This function is the main entry point for the interrupt example using the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> driver. </p>
<p>This function will set up the system with interrupts handlers.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the MIPI CSI2Tx Subsystem core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_FAILURE if the system setup failed.</li>
<li>XST_SUCCESS should never return since this function, if setup was successful, is blocking.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If system setup was successful, this function is blocking in order to illustrate interrupt handling. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__csi2txss__v1__0.html#gae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>.</p>

</div>
</div>
<a id="ga003874deb0dc72b7d5f78b4d00a68561"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga003874deb0dc72b7d5f78b4d00a68561">&#9670;&nbsp;</a></span>Csi2TxSs_LinebufEventHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Csi2TxSs_LinebufEventHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__intr__example_8c.html">xcsi2txss_intr_example.c</a>&gt;</code></p>

<p>This function is called when a Line buffer is full event recieved by MIPI CSI2Tx Subsystem core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> instance. </td></tr>
    <tr><td class="paramname">Mask</td><td>of interrupt which caused this event</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Use the XCsi2TxSs_SetCallback driver function to set this function as the handler for Line buffer full event. </dd></dl>

</div>
</div>
<a id="ga7f3c94a567227794158a9e77850ad45a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7f3c94a567227794158a9e77850ad45a">&#9670;&nbsp;</a></span>Csi2TxSs_PlatformInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 Csi2TxSs_PlatformInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__intr__example_8c.html">xcsi2txss_intr_example.c</a>&gt;</code></p>

<p>This function initialize required platform-specifc peripherals. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if required peripherals are initialized and configured successfully.</li>
<li>XST_FAILURE, otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga1e0a474f9469d041cee3f863c5a6de97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1e0a474f9469d041cee3f863c5a6de97">&#9670;&nbsp;</a></span>Csi2TxSs_SelfTestExample()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 Csi2TxSs_SelfTestExample </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__selftest__example_8c.html">xcsi2txss_selftest_example.c</a>&gt;</code></p>

<p>This is the main function for <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> self test example. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the self test example passed.</li>
<li>XST_FAILURE if the self test example was unsuccessful.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. This function is the main entry point for the self test example using the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> driver. This function check whether or not its sub-core drivers self test functions are in working state.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the MIPI CSI2 TX Subsystem core.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_FAILURE if any of MIPI CSI2 TX Subsystem sub-core self test failed.</li>
<li>XST_SUCCESS, if all of MIPI CSI2 TX Subsystem sub-core self test passed.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_csi2_tx_ss___config.html#a81d81ca026f814b36aaa4f640886fb9b">XCsi2TxSs_Config::BaseAddr</a>, <a class="el" href="group__csi2txss__v1__0.html#ga05a335318d3ee341c8288279cf4d8683">XCsi2TxSs_CfgInitialize()</a>, <a class="el" href="group__csi2txss__v1__0.html#ga011ccc31eea54a9b72e6ece5efed6853">XCsi2TxSs_LookupConfig()</a>, and <a class="el" href="group__csi2txss__v1__0.html#ga55777b4afc7abf235debe2d797969577">XCsi2TxSs_SelfTest()</a>.</p>

</div>
</div>
<a id="ga4261a1f4e4767eee83fa1ab1990fd25e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4261a1f4e4767eee83fa1ab1990fd25e">&#9670;&nbsp;</a></span>Csi2TxSs_SetupIntrSystem()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 Csi2TxSs_SetupIntrSystem </td>
          <td>(</td>
          <td class="paramtype">XINTC *&#160;</td>
          <td class="paramname"><em>IntcInstPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__intr__example_8c.html">xcsi2txss_intr_example.c</a>&gt;</code></p>

<p>This function sets up the interrupt system so interrupts can occur for the MIPI CSI2Tx Subsystem core. </p>
<p>The function is application-specific since the actual system may or may not have an interrupt controller. The MIPI CSI Subsystem core could be directly connected to a processor without an interrupt controller. The user should modify this function to fit the application.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">IntcInstPtr</td><td>is a pointer to interrupt controller</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if interrupt setup was successful.</li>
<li>A specific error code defined in "xstatus.h" if an error occurs.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="gadc28c0547eca7d2f3f09cc4151c7cab5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadc28c0547eca7d2f3f09cc4151c7cab5">&#9670;&nbsp;</a></span>Csi2TxSs_UlpsEventHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Csi2TxSs_UlpsEventHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__intr__example_8c.html">xcsi2txss_intr_example.c</a>&gt;</code></p>

<p>This function is called when there is a change in ULPS state of D-PHY Lanes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> instance. </td></tr>
    <tr><td class="paramname">Mask</td><td>of interrupt which caused this event</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Use the XCsi2TxSs_SetCallback driver function to set this function as the handler for ULPS mode detection event. </dd></dl>

</div>
</div>
<a id="gab5d956c45981158d58b15833b9f570d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab5d956c45981158d58b15833b9f570d0">&#9670;&nbsp;</a></span>Csi2TxSs_UrunPixelEventHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Csi2TxSs_UrunPixelEventHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__intr__example_8c.html">xcsi2txss_intr_example.c</a>&gt;</code></p>

<p>This function is called when during packet transmission, byte stream FIFO is found to be starves for pixel by the MIPI CSI2Tx Subsystem core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> instance.</td></tr>
    <tr><td class="paramname">Mask</td><td>of interrupt which caused this event</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Use the XCsi2TxSs_SetCallback driver function to set this function as the handler for Byte stream FIFO starve event. </dd></dl>

</div>
</div>
<a id="gacf6090a5e28c69c648d3688cf32069db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacf6090a5e28c69c648d3688cf32069db">&#9670;&nbsp;</a></span>Csi2TxSs_WrgDTypeEventHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Csi2TxSs_WrgDTypeEventHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__intr__example_8c.html">xcsi2txss_intr_example.c</a>&gt;</code></p>

<p>This function is called when a event generated by unspported data type in GSP request to the MIPI CSI2Tx Subsystem core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> instance.</td></tr>
    <tr><td class="paramname">Mask</td><td>of interrupt which caused this event</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Use the XCsi2TxSs_SetCallback driver function to set this function as the handler for Short Packet FIFO error event. </dd></dl>

</div>
</div>
<a id="ga9cb8d015cac4e68c6cbe5b9c0b76bac9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9cb8d015cac4e68c6cbe5b9c0b76bac9">&#9670;&nbsp;</a></span>Csi2TxSs_WrgLaneEventHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Csi2TxSs_WrgLaneEventHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__intr__example_8c.html">xcsi2txss_intr_example.c</a>&gt;</code></p>

<p>This function is called when Wrong number of lanes are configured by the MIPI CSI2Tx Subsystem core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> instance. </td></tr>
    <tr><td class="paramname">Mask</td><td>of interrupt which caused this event</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Use the XCsi2TxSs_SetCallback driver function to set this function as the handler for wrong lane configuration event. </dd></dl>

</div>
</div>
<a id="gae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&nbsp;</a></span>main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss__intr__example_8c.html">xcsi2txss_intr_example.c</a>&gt;</code></p>

<p>This is the main function for <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> interrupt example. </p>
<p>If the Csi2TxSs_IntrExample function which sets up the system succeeds, this function will wait for the interrupts. Once a connection event or pulse is detected, Csi2TxSs will TX device capabilities and re-start the subsystem.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_FAILURE if the interrupt example was unsuccessful.</li>
<li>XST_SUCCESS if the interrupt example was successful. </li>
</ul>
</dd></dl>

<p class="reference">References <a class="el" href="group__csi2txss__v1__0.html#ga4f003f0f154d0a6f6d7c06498ff3c655">Csi2TxSs_IntrExample()</a>.</p>

</div>
</div>
<a id="gac74b7b2f7be7e695c3034f45d681c8ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac74b7b2f7be7e695c3034f45d681c8ed">&#9670;&nbsp;</a></span>XCsi2TxSs_Activate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCsi2TxSs_Activate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Flag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8c.html">xcsi2txss.c</a>&gt;</code></p>

<p>This function is used to activate the CSI Subsystem. </p>
<p>Internally it activates the DPHY and CSI.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the Subsystem instance to be worked on. </td></tr>
    <tr><td class="paramname">Flag</td><td>is used to denote whether to enable or disable the subsystem</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS on successful operation</li>
<li>XST_FAILURE on failed operation</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p class="reference">References <a class="el" href="struct_x_csi2_tx_ss.html#a625d8009f4967ee151402f9d794cf21f">XCsi2TxSs::Config</a>, and <a class="el" href="struct_x_csi2_tx_ss___config.html#a8364cfcd48d9087a1657c96241dad16e">XCsi2TxSs_Config::IsDphyRegIntfcPresent</a>.</p>

</div>
</div>
<a id="ga05a335318d3ee341c8288279cf4d8683"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga05a335318d3ee341c8288279cf4d8683">&#9670;&nbsp;</a></span>XCsi2TxSs_CfgInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCsi2TxSs_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss___config.html">XCsi2TxSs_Config</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8c.html">xcsi2txss.c</a>&gt;</code></p>

<p>This function initializes the MIPI CSI subsystem and included sub-cores. </p>
<p>This function must be called prior to using the subsystem. Initialization includes setting up the instance data for top level as well as all included sub-core therein, and ensuring the hardware is in a known stable state.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the Subsystem instance to be worked on. </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>points to the configuration structure associated with the subsystem instance. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the base address of the device. If address translation is being used, then this parameter must reflect the virtual base address. Otherwise, the physical address should be used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if initialization is successful</li>
<li>XST_FAILURE, otherwise</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_csi2_tx_ss___config.html#a81d81ca026f814b36aaa4f640886fb9b">XCsi2TxSs_Config::BaseAddr</a>, and <a class="el" href="struct_x_csi2_tx_ss.html#a625d8009f4967ee151402f9d794cf21f">XCsi2TxSs::Config</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__csi2txss__v1__0.html#ga1e0a474f9469d041cee3f863c5a6de97">Csi2TxSs_SelfTestExample()</a>.</p>

</div>
</div>
<a id="ga20a5a3fc9695ca1ac7fdbea4300da836"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga20a5a3fc9695ca1ac7fdbea4300da836">&#9670;&nbsp;</a></span>XCsi2TxSs_Configure()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCsi2TxSs_Configure </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>ActiveLanes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IntrMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8c.html">xcsi2txss.c</a>&gt;</code></p>

<p>This function is used to configure the CSI lanes and interrupts that are to be handled by the application. </p>
<p>Refer to XCsi2Tx.h for interrupt masks.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the Subsystem instance to be worked on. </td></tr>
    <tr><td class="paramname">ActiveLanes</td><td>is no of active lanes to be configure. This value ranges between 1 and 4. </td></tr>
    <tr><td class="paramname">IntrMask</td><td>Indicates Mask for enable interrupts.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS on successful configuration of parameters<ul>
<li>XST_FAILURE otherwise</li>
</ul>
</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>When EnableActiveLanes is 0, then the ActiveLanes parameter passed should be equal to Max Lanes of design. </dd></dl>

</div>
</div>
<a id="ga9f75eac00e365efaa38c8c3b9f98ec0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9f75eac00e365efaa38c8c3b9f98ec0e">&#9670;&nbsp;</a></span>XCsi2TxSs_GetMaxLaneCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCsi2TxSs_GetMaxLaneCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8c.html">xcsi2txss.c</a>&gt;</code></p>

<p>This function is used to get the number of lanes configured in the IP. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CSI2TX SS Instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Max number of lanes available in u32 format</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga5f102cce59805525a6129df5c4d7feb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5f102cce59805525a6129df5c4d7feb8">&#9670;&nbsp;</a></span>XCsi2TxSs_GetPixelMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCsi2TxSs_GetPixelMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8c.html">xcsi2txss.c</a>&gt;</code></p>

<p>This function is used to get the Pixel Mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CSI2TX SS Instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0x0 - Single Pixel Mode 0x1 - Dual Pixel Mode 0x3 - Quad Pixel Mode</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga066c927aebc1b2c199e33350662e4fd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga066c927aebc1b2c199e33350662e4fd9">&#9670;&nbsp;</a></span>XCsi2TxSs_GetShortPacket()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCsi2TxSs_GetShortPacket </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8c.html">xcsi2txss.c</a>&gt;</code></p>

<p>This function gets the short packets. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the Subsystem instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p class="reference">References <a class="el" href="struct_x_csi2_tx_ss.html#a69db6382dd247f145f9685994e790b3a">XCsi2TxSs::SpktData</a>.</p>

</div>
</div>
<a id="ga05e607ece4b52c59fa349f5f2e42976f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga05e607ece4b52c59fa349f5f2e42976f">&#9670;&nbsp;</a></span>XCsi2TxSs_IntrDisable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCsi2TxSs_IntrDisable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IntrMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8h.html">xcsi2txss.h</a>&gt;</code></p>

<p>This function is used to disable the interrupts in the CSI core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the Subsystem instance to be worked on. </td></tr>
    <tr><td class="paramname">IntrMask</td><td>Indicates Mask for enable interrupts.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga8d8dd9ec87494c3d3b90dcafd05a6028"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8d8dd9ec87494c3d3b90dcafd05a6028">&#9670;&nbsp;</a></span>XCsi2TxSs_IntrHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCsi2TxSs_IntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8h.html">xcsi2txss.h</a>&gt;</code></p>

<p>This function is the interrupt handler for the MIPI CSI2 Tx Subsystem. </p>
<p>The application is responsible for connecting this function to the interrupt system. Application beyond this driver is also responsible for providing callbacks to handle interrupts and installing the callbacks using <a class="el" href="group__csi2txss__v1__0.html#ga445feeebfebea8ae0119be48a4a27ede" title="This routine installs an asynchronous callback function for the given HandlerType: ...">XCsi2TxSs_SetCallBack()</a> during initialization phase.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> core instance that just interrupted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga7e993c82c56bef5ed7a768a71705630b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7e993c82c56bef5ed7a768a71705630b">&#9670;&nbsp;</a></span>XCsi2TxSs_LineGen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCsi2TxSs_LineGen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8c.html">xcsi2txss.c</a>&gt;</code></p>

<p>This function is to set the Line Synchronization packet Generation status. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CSI2 TX SS Instance to be worked on.</td></tr>
    <tr><td class="paramname">Value</td><td>0 : DISABLE 1 : ENABLE</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga011ccc31eea54a9b72e6ece5efed6853"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga011ccc31eea54a9b72e6ece5efed6853">&#9670;&nbsp;</a></span>XCsi2TxSs_LookupConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_csi2_tx_ss___config.html">XCsi2TxSs_Config</a> * XCsi2TxSs_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8h.html">xcsi2txss.h</a>&gt;</code></p>

<p>This function looks for the device configuration based on the unique device ID. </p>
<p>The table XCsi2TxSs_ConfigTable[] contains the configuration information for each instance of the device in the system.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the device being looked up</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the configuration table entry corresponding to the given device ID, or NULL if no match is found</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__csi2txss__v1__0.html#ga1e0a474f9469d041cee3f863c5a6de97">Csi2TxSs_SelfTestExample()</a>.</p>

</div>
</div>
<a id="gad5067597d1a3f39b5be158ce026e3f8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad5067597d1a3f39b5be158ce026e3f8c">&#9670;&nbsp;</a></span>XCsi2TxSs_ReportCoreInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCsi2TxSs_ReportCoreInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8c.html">xcsi2txss.c</a>&gt;</code></p>

<p>This function reports list of cores included. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the Subsystem instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p class="reference">References <a class="el" href="struct_x_csi2_tx_ss.html#a625d8009f4967ee151402f9d794cf21f">XCsi2TxSs::Config</a>, and <a class="el" href="struct_x_csi2_tx_ss___config.html#a8364cfcd48d9087a1657c96241dad16e">XCsi2TxSs_Config::IsDphyRegIntfcPresent</a>.</p>

</div>
</div>
<a id="ga9933630512ea21627aae263ff1833372"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9933630512ea21627aae263ff1833372">&#9670;&nbsp;</a></span>XCsi2TxSs_Reset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCsi2TxSs_Reset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8c.html">xcsi2txss.c</a>&gt;</code></p>

<p>This function is used to reset the CSI Subsystem. </p>
<p>Internally it resets the DPHY and CSI</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the Subsystem instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if all the sub core IP resets occur correctly</li>
<li>XST_FAILURE if reset fails for any sub core IP fails</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga55777b4afc7abf235debe2d797969577"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga55777b4afc7abf235debe2d797969577">&#9670;&nbsp;</a></span>XCsi2TxSs_SelfTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCsi2TxSs_SelfTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8h.html">xcsi2txss.h</a>&gt;</code></p>

<p>This function performs self test on MIPI CSI Tx Subsystem sub-cores. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_csi2_tx_ss.html" title="The XCsi2TxSs driver instance data. ">XCsi2TxSs</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if self test passed.</li>
<li>XST_FAILURE if self test failed.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__csi2txss__v1__0.html#ga1e0a474f9469d041cee3f863c5a6de97">Csi2TxSs_SelfTestExample()</a>.</p>

</div>
</div>
<a id="ga445feeebfebea8ae0119be48a4a27ede"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga445feeebfebea8ae0119be48a4a27ede">&#9670;&nbsp;</a></span>XCsi2TxSs_SetCallBack()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCsi2TxSs_SetCallBack </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>HandlerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackFunc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8h.html">xcsi2txss.h</a>&gt;</code></p>

<p>This routine installs an asynchronous callback function for the given HandlerType: </p>
<pre>
HandlerType                                     Invoked by this driver when:
-------------------------                       -------------------------------
(XCSI2TXSS_HANDLER_WRG_LANE)            IncorrectLaneCallBack
(XCSI2TXSS_HANDLER_GSPFIFO_FULL)                GSPFIFOCallBack
(XCSI2TXSS_HANDLER_ULPS)                        DPhyUlpsCallBack
(XCSI2TXSS_HANDLER_LINEBUF_FULL)                LineBufferCallBack
(XCSI2TXSS_HANDLER_WRG_DATATYPE)                WrgDataTypeCallBack
(XCSI2TXSS_HANDLER_UNDERRUN_PIXEL)              UnderrunPixelCallBack
</pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the XCsi instance to operate on </td></tr>
    <tr><td class="paramname">HandlerType</td><td>is the type of call back to be registered. </td></tr>
    <tr><td class="paramname">CallbackFunc</td><td>is the pointer to a call back funtion which is called when a particular event occurs. </td></tr>
    <tr><td class="paramname">CallbackRef</td><td>is a void pointer to data to be referenced to by the CallBackFunc</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS when handler is installed.</li>
<li>XST_INVALID_PARAM when HandlerType is invalid.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Invoking this function for a handler that already has been installed replaces it with the new handler. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_csi2_tx_ss.html#af575bf5693648774b6b55c36dc2acc25">XCsi2TxSs::IsReady</a>.</p>

</div>
</div>
<a id="ga533565da7643edb6132a77e5443a2f2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga533565da7643edb6132a77e5443a2f2d">&#9670;&nbsp;</a></span>XCsi2TxSs_SetGSPEntry()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCsi2TxSs_SetGSPEntry </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_csi2_tx_ss.html">XCsi2TxSs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xcsi2txss_8c.html">xcsi2txss.c</a>&gt;</code></p>

<p>This function is to set Generic Short Packet Entries. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CSI2 TX SS Instance to be worked on.</td></tr>
    <tr><td class="paramname">Value</td><td>GSP 32 bit Entry</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
